package org.third.suite.service;

import java.io.IOException;

import org.springframework.web.multipart.MultipartFile;
import org.third.suite.service.impl.DataBaseDTO;

public interface InstallerDataSourceService {
  public void initialize();
  public void addNewDataSourceAtRuntime();
  public boolean databaseReady();
  public boolean databaseReady(DataBaseDTO dataBaseDTO);
  public boolean databaseReadyWithRetry();
  public boolean databaseExistInKube();
  public boolean existeDataSource();
  public String getDatabaseName();
  public String getDataBaseKey();
  public void uploadJdbcConnCertificate(String type,MultipartFile ... multipartFiles) throws IOException;

  public MultipartFile convertToMultifile(String path) throws IOException;

}
